<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>修改库存</title>
    <link href="<%=path%>/css/core.css" rel="stylesheet" type="text/css"/>
    <link href="<%=path%>/css/form.css" rel="stylesheet" type="text/css"/>
  </head>
  <body>
    <form name="stockForm" id="stockForm" action="<%=path%>/product/stock/update.t4m" class="form" method="post">
     <s:hidden name="object.id"/>
      <div class="form-group">基本信息</div>
      <table class="form-table" cellspacing="0" cellpadding="0">
        <tr>
          <td class="form-left"><span class="form-required">*</span>商品</td>
          <td class="form-right">
            <input type="hidden"  name="object.product.id" value="${object.product.id}"/>
            <input type="text" readonly="readonly" value="${object.product.name}" class="text"/></td>
        </tr>
        <tr>
          <td class="form-left">仓库</td>
          <td class="form-right">
            <s:select name="object.warehouse.id" value="object.warehouse.id" list="wlist" listKey="id" listValue="name" theme="simple"/></td>
        </tr>
        <tr>
          <td class="form-left">数量</td>
          <td class="form-right"><input type="text" name="object.amounts" value="${object.amounts}" class="text"/></td>
        </tr>
      </table>
      <s:hidden name="tabId"/>
      <s:hidden name="windowPanelId"/>
    </form>
    <script src="<%=path%>/js/core.js" type="text/javascript"></script>
    <script src="<%=path%>/js/jquery.js" type="text/javascript"></script>
    <script src="<%=path%>/js/Validate.js" type="text/javascript"></script>
    <script type="text/javascript">
    </script>
  </body>
</html>